function [sumOfNumbers] = Example1(matrixOfNumbers)
%EXAMPLE1 Summary of this function goes here
%   Detailed explanation goes here
    
%% Reshape arrayOfNumbers in case it is not 1D
%

arrayOfNumbers=matrixOfNumbers(:);
N=length(arrayOfNumbers);

%% Calculate sum
%
sumOfNumbers=0;

for ii=1:N
   sumOfNumbers=sumOfNumbers+arrayOfNumbers(ii);
end


end

